home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
10,000 Great Games
/
10,000 Great Games.iso
/
Product
/
66
/
data1.cab
/
Source_Files
/
Src
/
Scenery.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-16
|
761b
|
23 lines
#include "stdafx.h"
cScenery *scenery_back1 = 0, *scenery_back1_belowscreen = 0, *scenery_back1_abovescreen = 0,
*scenery_back2 = 0, *scenery_back2_belowscreen = 0, *scenery_back2_abovescreen = 0,
*scenery_game1 = 0, *scenery_game1_belowscreen = 0, *scenery_game1_abovescreen = 0,
*scenery_game2 = 0, *scenery_game2_belowscreen = 0, *scenery_game2_abovescreen = 0,
*scenery_game3 = 0, *scenery_game3_belowscreen = 0, *scenery_game3_abovescreen = 0;
cScenery::cScenery(int _x, int _y, cProperties *_orig, char *startseq)
: cGameObject(_orig)
{
ASSERT (orig->objtype != 0);
set_surface(*orig->objtype->surface);
add_end((cList **)orig->objtype->onscreen);
set_sequence(startseq, TRUE);
set_position(_x, _y);
}